﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="wfHitelek.aspx.cs" Inherits="ownx.wfHitelek" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Hitelek</title>
        <link href="ownx.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="js_scripts.js"></script>
    </head>
    <body style="background-image:url(./images/bg.png); color:White; font-weight:bold;">
        <form id="form1" runat="server">
            <asp:Button ID="FalseButton" runat="server" style="height: 0px; width: 0px; background-color:#111111; border-width:0px;" Enabled="false"/>  
            <div style="width:100%; height:0px; position:absolute; left:0px; top:50%;" id="v_center">
                <div style="width:100%; height:600px; position:absolute; top:-300px; text-align:center; background-image:url(./images/alpha_bg.png); background-repeat:no-repeat; background-position:right;" id="dark">
                    <div style="width:950px; height:600px; position:relative; margin:0px auto 0px auto;">
                        <div style="width:950px; height:30px; margin:22px 0px; padding:3px 0px; position:relative; border-bottom-style:solid; border-color:#555555; border-bottom-width:2px; text-align:left;" id="header">
                            <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="bAlapadatok" runat="server" Text="Alapadatok" 
                                            style="" CssClass="tab"
                                            onclick="bAlapadatok_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bHitelek" runat="server" Text="Hitel" 
                                            style="" CssClass="tab_active"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bBefektetesek" runat="server" Text="Befektetés" 
                                            style="" CssClass="tab"
                                            onclick="bBefektetesek_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bNyugdijak" runat="server" Text="Nyugdíj" 
                                            style="" CssClass="tab"
                                            onclick="bNyugdijak_Click"/>
                                    </td>
                                    <td>
                                        <asp:Button ID="bEletBizt" runat="server" Text="Élet bizt."     
                                            style="" CssClass="tab"
                                            onclick="bEletBizt_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bVagyonBizt" runat="server" Text="Vagyon bizt." 
                                            style="" CssClass="tab"
                                            onclick="bVagyonBizt_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bMegj" runat="server" Text="Megj." 
                                            style="" CssClass="tab"
                                            onclick="bMegj_Click"/>                                
                                    </td>                                                                                                                                                                                                
                                </tr>
                            </table>
                        </div>
                        <div style="width:950px; height:520px; position:relative;" id="main_container">
                            <div style="width:780px; height: 220px; float:left; text-align:left;" id="main1">        
                                <div style="text-align:center;">
                                    <div style="height: 220px; width:767px; overflow:auto; margin: 0px auto;">
                                        <asp:GridView ID="gvHitelek" runat="server"    
                                            style="width:750px; border-color:#dac6a6; text-align:center; overflow:auto;" 
                                            AutoGenerateColumns="False" CellPadding="4"
                                BorderStyle="None" CaptionAlign="Top" MouseOverColor="Black" GridLines="None"
                                PageSize="11"                                             
                                            onselectedindexchanged="gvHitelek_SelectedIndexChanged" 
                                            onrowdatabound="gvHitelek_RowDataBound" DataKeyNames="HTL_ID">
                                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <RowStyle VerticalAlign="Top" 
                                                BorderWidth="0px" Wrap="True" />
                                            <Columns>
                                                <asp:CommandField ShowSelectButton="True" Visible="false"/>
                                                <asp:BoundField DataField="HTL_ID" Visible="False" />
                                                <asp:BoundField DataField="HTL_TIPUS" Visible="False" />
                                                <asp:BoundField DataField="HTL_PRT_ID" Visible="False" />
                                                <asp:BoundField DataField="HTL_BNK_ID" Visible="False" />
                                                <asp:BoundField DataField="HTL_FELV_DATUM" HeaderText="Dátum" />
                                                <asp:BoundField DataField="HTL_DEVIZANEM" HeaderText="Devizanem" />
                                                <asp:BoundField DataField="HTL_ARFOLYAM" HeaderText="Árfolyam" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="HTL_OSSZEG" HeaderText="Összeg" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="HTL_KAMAT" HeaderText="Kamat" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="HTL_KKOLTSEG" HeaderText="Költség" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="HTL_RESZLET" HeaderText="Részletek" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="HTL_LKOLTSEG" HeaderText="Lezárás költsége" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="HTL_TURELMI" Visible="False" />
                                                <asp:BoundField DataField="HTL_HATRAL" Visible="False" />
                                                <asp:BoundField DataField="HTL_BIZTOSITAS" Visible="False" />
                                                <asp:BoundField DataField="HTL_MEGJEGYZES" Visible="False" />
                                                <asp:BoundField DataField="HTL_CREATED" Visible="False" />
                                                <asp:BoundField DataField="HTL_CREATED_BY" Visible="False" />
                                                <asp:BoundField DataField="HTL_MODIFIED" Visible="False" />
                                                <asp:BoundField DataField="HTL_MODIFIED_BY" Visible="False" />
                                            </Columns>
                                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                            <SelectedRowStyle BackColor="#333333" />
                                            <HeaderStyle BackColor="Black" Font-Bold="True" 
                                                Height="30px" CssClass="header"  />
                                            <EditRowStyle BackColor="#999999" />
                                            
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                            <div style="width:170px; height: 520px; float:right; vertical-align:bottom; line-height:5px;" id="buttons">
                                <asp:Button ID="Button8" runat="server" Text="Új" 
                                    style="" CssClass="button"
                                    onclick="bUj_Click"/>  
                                <br /><br />
                                <asp:Button ID="Button9" runat="server" Text="Mentés" 
                                    style="" CssClass="button" 
                                    onclick="bSave_Click"/> 
                                <br /><br />
                                <asp:Button ID="Button10" runat="server" Text="Vissza" 
                                    style="" CssClass="button"
                                    onclick="bVissza_Click"/>  
                                <br /><br />
                                <asp:Button ID="bVisszaFooldalra" runat="server" Text="Vissza a főoldalra" 
                                    Style="" CssClass="button" onclick="bVisszaFooldalra_Click" />                                     
                            </div>
                            <div style="width:560px; height: 300px; float:left; text-align:left;" id="main2">
                                <asp:Label ID="lMessage" runat="server"
                                    style="" Font-Names="Arial" 
                                    ForeColor="#990000"></asp:Label>                            
                                 <br />
                                <table cellspacing="5" id="fields" style="width:550px;">
                                    <tr>
                                        <td style="width:100px;">
                                            <asp:Label ID="lName1" runat="server" Text="Típus:"
                                                style=""></asp:Label>                                        
                                        </td>
                                        <td style="width:60px;">
                                            <asp:DropDownList ID="ddlHTL_TIPUS" runat="server" CssClass="other_input"
                                                style="width:120px;">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width:90px;">
                                            <asp:Label ID="lName" runat="server" Text="ID:"
                                                style="" Visible="False"></asp:Label>
                                        </td>
                                        <td style="width:60px;">
                                            <asp:TextBox ID="tbHTL_ID" runat="server"  CssClass="editbox"
                                                style="width:60px;" Visible="False"></asp:TextBox>
                                        </td>
                                        <td style="width:60px;">    
                                            <asp:Label ID="lName0" runat="server" Text="Partner:"
                                                style="" Visible="False"></asp:Label>
                                        </td>
                                        <td style="width:60px;">
                                            <asp:TextBox ID="tbHTL_PRT_ID" runat="server"  CssClass="editbox"
                                                style="width:60px;" Visible="False"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName6" runat="server" Text="Bank:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlHTL_BNK_ID" runat="server" CssClass="other_input"
                                                style="width:120px;">
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            <asp:Label ID="lName5" runat="server" Text="Devizanem:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_DEVIZANEM" runat="server" CssClass="editbox"
                                                style="width:60px;"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lName4" runat="server" Text="Árfolyam:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>        
                                            <asp:TextBox ID="tbHTL_ARFOLYAM" runat="server" CssClass="editbox"
                                                style="width:60px;"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName7" runat="server" Text="Összeg:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_OSSZEG" runat="server" CssClass="editbox"
                                                style="width:120px;"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lName2" runat="server" Text="Részlet:"
                                                style=""></asp:Label>                                        
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_RESZLET" runat="server" CssClass="editbox"
                                                style="width:60px;"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lName14" runat="server" Text="Kamat:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_KAMAT" runat="server" CssClass="editbox"
                                                style="width:60px;"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName10" runat="server" Text="Kezelési ktg.:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_KKOLTSEG" runat="server" CssClass="editbox"
                                                style="width:120px;"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lName9" runat="server" Text="Lezárás ktg.:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_LKOLTSEG" runat="server" CssClass="editbox"
                                                style="width:60px;"></asp:TextBox>
                                        </td>
                                        <td></td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName12" runat="server" Text="Hátralévő idő:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_HATRAL" runat="server" CssClass="editbox"
                                                style="width:120px;"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lName8" runat="server" Text="Türelmi idő:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_TURELMI" runat="server" CssClass="editbox"
                                                style="width:60px;"></asp:TextBox>
                                        </td>
                                        <td></td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName11" runat="server" Text="Biztosítás:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlHTL_BIZTOSITAS" runat="server" CssClass="other_input"
                                                style="width:120px;">
                                            </asp:DropDownList>
                                        </td> 
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>                                       
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName13" runat="server" Text="Megjegyzés:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbHTL_MEGJEGYZES" runat="server" CssClass="editbox"
                                                style="width:120px;"></asp:TextBox>
                                        </td> 
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>                                       
                                    </tr>                                    
                                </table>  
                            </div>                            
                            <div style="width:220px; height: 290px; float:right; padding-top:10px" id="calendar">
                                <asp:Label ID="lName3" runat="server" Text="Felvétel dátuma:"
                                    style=""></asp:Label>
                                <asp:Calendar ID="calHTL_FELV_DATUM" runat="server"
                                    style="position: relative; margin:10px auto 0px auto; top: 0px;" 
                                    SelectedDate="2008-07-08" BackColor="Black" BorderColor="#999999" 
                                    CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
                                    ForeColor="White" Height="180px" Width="200px">
                                    <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                                    <SelectorStyle BorderStyle="Solid" />
                                    <WeekendDayStyle BackColor="#F3B801" ForeColor="Black" />
                                    <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <OtherMonthDayStyle ForeColor="#808080" />
                                    <NextPrevStyle VerticalAlign="Bottom" />
                                    <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" 
                                        ForeColor="#333333" />
                                    <TitleStyle BackColor="Gray" BorderColor="Black" Font-Bold="True" 
                                        ForeColor="Black" />
                                </asp:Calendar>
                            </div>
                        </div>                          
                    </div>
                </div>
            </div> 
        </form>
    </body>
</html>
